*{
  padding: 0;
  margin: 0;
}

.disabled{
  opacity: 0.5;
  cursor: not-allowed !important;
}

.z-checkbox-btn-box{
  display: flex;
  align-items: center;
}

.z-checkbox-btn{
  position: relative;
  top: 0;
  left: 0;
  display: block;
  width: 16px;
  height: 16px;
  cursor: pointer;
  border: 1px solid #e3e3e3;
  transition: .3s;
  margin: 0 10px;
}
.z-checkbox-btn-box label{
  cursor: pointer;
}
.z-checkbox-btn-box .half-checked::after{
  position: absolute;
  opacity: 1;
  transition: all .2s cubic-bezier(.12,.4,.29,1.46) .1s;
  content: " ";
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  background-color: rgb(80, 60, 231);
}

.z-checkbox-btn-box .checked{
  background-color: rgb(80, 60, 231);
  border-color: rgb(80, 60, 231);
}
.z-checkbox-btn-box .checked::after{
  position: absolute;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) scale(1) translate(-50%,-50%);
  opacity: 1;
  transition: all .2s cubic-bezier(.12,.4,.29,1.46) .1s;
  content: " ";
  top: 40%;
  left: 22.5%;
  width: 4px;
  height: 8px;
}